package com.rjwh.dingdong.client.util;

import android.content.Context;
import android.widget.Toast;

import com.aishua.lib.utils.AsStrUtils;

public class ToastUtil {
    public static void showToast(Context context, String toast) {
        if (AsStrUtils.isEmpty(toast)) {
            return;
        }
        Toast.makeText(context, toast, Toast.LENGTH_SHORT).show();
    }

    public static void showToast(Context context, int toast) {

        Toast.makeText(context, toast + "", Toast.LENGTH_SHORT).show();
    }
}
